<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>Sign Up</title>
    {% include 'General/Packages.html' %} {% load static %}
    <link rel="stylesheet" type="text/css" href="{% static 'css/register.css' %}">
</head>

<body>
<div class="container">
    <div class="row">
        <div class="col-md-5 mx-auto">
            <div class="myform form">
                <div class="logo mb-3">
                    <div class="col-md-12 text-center">
                        <h1>GreatDoc</h1>
                    </div>
                </div>
                <form action="" method="post" name="login">
                    {% if message %}
                        <div class="alert alert-warning">{{ message }}</div>
                    {% endif %}
                    {% csrf_token %}
                    <div class="form-group mb-3">
                        <input type="email" name="email" class="form-control" id="email"
                               aria-describedby="emailHelp" placeholder="Enter Mail Address">
                    </div>
                    <div class="form-group mb-3">
                        <input type="text" name="username" class="form-control" id="username"
                               placeholder="Enter Username">
                    </div>
                    <div class="form-group mb-3">
                        <input type="password" name="password" id="password" class="form-control"
                               placeholder="Enter Password">
                    </div>
                    <div class="form-group mb-3">
                        <div class="col-sm-offset-2 col-md-12 text-center">
                            <button type="submit" class=" btn btn-block mybtn btn-primary tx-tfm">Sign up</button>
                        </div>
                    </div>
                    <div class="col-md-12 ">
                        <div class="login-or">
                            <hr class="hr-or">
                            <span class="span-or">or</span>
                        </div>
                    </div>
                    <div class="col-md-12 mb-3">
                        <p class="text-center">
                            <a href="login" class="google btn mybtn"><i class="fa fa-envelope">
                            </i> Already have accounts? Sign in!
                            </a>
                        </p>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div class="row">{% include 'General/Copyright.html' %}</div>
</div>
</body>

</html>